Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #243 - Support import_set for html input #555

Merged
merged 1 commit into from
Jul 3, 2023

Conversation

claudep
Copy link
Contributor

@claudep claudep commented Jul 2, 2023

No description provided.

@codecov
Copy link

codecov bot commented Jul 2, 2023

Codecov Report

Merging #555 (274f89a) into master (f3ef2e9) will increase coverage by 0.22%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #555      +/-   ##
==========================================
+ Coverage   91.37%   91.59%   +0.22%     
==========================================
  Files          28       28              
  Lines        2713     2785      +72     
==========================================
+ Hits         2479     2551      +72     
  Misses        234      234              
Impacted Files Coverage Δ
src/tablib/formats/_html.py 100.00% <100.00%> (ø)
tests/test_tablib.py 98.75% <100.00%> (+0.03%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

parser.feed(in_stream.read())
if not parser.table_found:
if table_id:
raise ValueError(f'No <table> found with id="{table_id}" in input HTML')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we add a simple test to cover this line and check it executes as expected?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good suggestion, updated.

@claudep claudep merged commit 1d4f033 into jazzband:master Jul 3, 2023
@claudep claudep deleted the html_import branch July 3, 2023 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants